<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">

<head th:replace="_fregments :: head(~{::title})">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>后台管理</title>
    <!-- Bootstrap -->
    <link rel="stylesheet" href="../../static/lib/bootstrap-3.4.1/css/bootstrap.min.css">
    <link rel="stylesheet" href="../../static/css/my.css">
    <!-- 动画 -->
    <link rel="stylesheet" href="../../static/css/animate.css">
</head>

<body>
<nav th:replace="_fregments :: menu(1)" class="navbar navbar-default navbar-fixed-top m-padding">
    <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                    data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">
                <img alt="Brand" src="../../static/favicon.ico" style="width: 24px;">
            </a>
            <p class="navbar-text navbar-default"><a href="#" class="navbar-link m-a-none"><b>后台管理</b></a></p>
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <li class="active"><a href="index.html"><span class="glyphicon glyphicon-home">&nbsp;</span>首页</a>
                </li>
                <li><a href="navigation.html"><span class="glyphicon glyphicon-tasks">&nbsp;</span>导航管理</a></li>
                <li><a href="tag.html"><span class="glyphicon glyphicon-tag">&nbsp;</span>标签管理</a></li>
                <li><a href="link.html"><span class="glyphicon glyphicon-link">&nbsp;</span>链接管理</a></li>
                <li role="presentation" class="disabled"><a href="#"><span
                        class="glyphicon glyphicon-bookmark">&nbsp;</span>书签管理</a></li>
            </ul>

            <ul class="nav navbar-nav navbar-right">
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                       aria-expanded="false">
                        <img class="m-avatar img-circle"
                             src="../../static/images/me.jpg">
                        挚夕
                        <span class="caret"></span>
                    </a>
                    <ul class="dropdown-menu dropdown-menu-left">
                        <li><a href="#"><span class="glyphicon glyphicon-th">&nbsp;</span>个人主页</a></li>
                        <li role="separator" class="divider"></li>
                        <li><a href="#"><span class="glyphicon glyphicon-log-out">&nbsp;</span>登出</a></li>
                    </ul>
                </li>
            </ul>

            <form class="navbar-form navbar-right">
                <div class="form-group">
                    <input type="text" class="form-control" placeholder="搜索" style="width: 300px;">
                </div>
                <button type="submit" class="btn btn-default">
                    <a class="glyphicon glyphicon-search m-none"></a>
                </button>
            </form>
        </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
</nav>

<div class="m-margin-top">
    <div class="m-container">
        <div class="alert alert-success alert-dismissible" role="alert">
            <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span
                    aria-hidden="true">&times;</span></button>
            登录成功!欢迎你<strong>挚夕</strong>!
        </div>
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title">说明</h3>
            </div>
            <div class="panel-body">
                <h4>导航管理模块</h4>
                <p>
                    一级导航图标使用了Bootstrap提供的图标库，图标class设置参考:
                    <a href="https://v3.bootcss.com/components/#glyphicons" target="_blank">Bootstrap中文网</a>

                    例如：<span class="glyphicon glyphicon-star"></span> <br>
                    设置 图标class = 'glyphicon glyphicon-star'
                </p>
                <hr>
                <h4>链接管理模块</h4>
                <p>
                    首页链接展示是通过二级菜单的形式，添加链接时应该先选择一级菜单，再查其下二级菜单，但比较麻烦就没做。
                    所以添加链接时，二级菜单要是对应一级菜单下的。
                </p>
            </div>
        </div>
    </div>
</div>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<footer th:replace="_fregments :: footer">
    <div>
        <div class="row">
            <div class="col-sm-4 col-md-4">
                <h3>挚夕导航</h3>
                <p>
                    挚夕导航最初源于本人想要做一个管理书签的系统。<br>
                    后来借鉴了一些导航网站，决定做一个网站导航。<br>
                    前端使用BootStrap。
                </p>
            </div>
            <div class="col-sm-8 col-md-8">
                占位
            </div>
        </div>
    </div>

    <div style="text-align: center;">
        Copyright 2023-now 挚夕导航 Designed by 挚夕
    </div>
</footer>

<!--/*/<th:block th:replace="_fregments :: script">/*/-->
<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
<script src="../../static/lib/jquery-1.12.4/jquery.min.js" th:src="@{/lib/jquery-1.12.4/jquery.min.js}"></script>
<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
<script src="../../static/lib/bootstrap-3.4.1/js/bootstrap.min.js"
        th:src="@{/lib/bootstrap-3.4.1/js/bootstrap.min.js}"></script>
<!--  bootstrap-dropdown-hover -->
<script src="../../static/lib/bootstrap-dropdown-hover.js" th:src="@{/lib/bootstrap-dropdown-hover.js}"></script>
<script>
    $(function () {
        //bootstrap-dropdown-hover
        $('.navbar [data-toggle="dropdown"]').bootstrapDropdownHover({
            // see next for specifications
        });
        //特效
        $("li").hover(function () {
            $(this).toggleClass("m-up");
        })
    });
</script>

<!--/*/</th:block>/*/-->


</body>

</html>